All Questions
11 questions
6votes
3answers
469views
First Java Program: A Basic GUI Library Management System with JavaFX
Requirements: Add/Delete member. Add/Delete book. Issue/Return book. Review Request: General coding comments, bad practices, style et cetera. Code: Main.java: <...
3votes
0answers
145views
Java game: select numbered tiles to form a goal sum
This is a homework project (Soft. Eng.) which I have completed. My teacher gave me a 91, but I am unhappy with this grade because my code is quite messy. (Please excuse incomplete Javadoc, the code is ...
2votes
1answer
3kviews
2D Physics Simulation (game-like)
My program is meant to simulate 2D physics(hopefully 3D as well in the future), namely classical mechanics and eventually electromagnetism. Currently it simulates projectile motion by firing a ...
3votes
1answer
881views
Java - Tic Tac Toe
I am a self - taught coder, and have been learning Java for the last 2 years. I have recently created a tic tac toe game in Java. I have rearranged the program into separate classes & methods. I ...
1vote
1answer
305views
Android RecyclerView holding rows of razzles
I have a RecyclerView that works and everything, and this is how I coded it: ...
1vote
1answer
70views
File-copying Manager
I have the following java class which has many private variables and methods: ...
7votes
2answers
15kviews
Extremely Simple Paint Program in Java
I have written a very basic paint program in java using AWT and Swing. I have separated the program into two different class files; one of them holds the JFrame and ...
6votes
2answers
195views
Showing object's data on GUI and HTML without accessors and mutable objects
I have been searching for a solution to show data of class with three assumptions: Class Employee is not responsible for showing itself Class ...
11votes
2answers
270views
Options, options, options. None for JavaFX?
I was looking through the JavaFX library, and I spotted that JavaFX DOES NOT HAVE A JOptionPane EQUIVALENT. (Or at least not in my version - as @Legato has said in ...
8votes
2answers
108views
Take These Buttons Back
I created a side bar of buttons for my game, the idea being that if you click on the "main" button of the group, the rest of the buttons in the group would pop out from the side of the screen. Later, ...
6votes
1answer
180views
Separating Cats and Dogs
I'm writing an animal shelter program, which keeps a database of different classes of animals (dog, cat, monkey). Functions that create the form and add the animals are very similar (difference is two ...